<script setup lang="ts">
import ChannelNav from './components/ChannelNav.vue';
import ArticleList from './components/ArticleList.vue'
import { ref } from 'vue';

const channelId = ref(0)

</script>

<template>
  <ChannelNav :channel-id="channelId" @change-id="channelId = $event"></ChannelNav>
  <ArticleList :channel-id="channelId"></ArticleList>
</template>
<style scoped></style>